package com.firewolf.hibernate.relationship.many_many_both2;

import java.io.Serializable;

public class RoleResource implements Serializable {

	
	private static final long serialVersionUID = -1671301059128312028L;

	/* ID */
	private Integer id;

	/* 与Role的多对一关系 */

	private Role role;

	/* 与Resource的多对一关系 */

	private Resource resource;

	/* 排序字段 */

	private Integer sort;
	
	private int other;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Resource getResource() {
		return resource;
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public int getOther() {
		return other;
	}

	public void setOther(int other) {
		this.other = other;
	}

}